package com.xbn.xbnmall.order.feign;

import com.xbn.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author XBN
 * @date 2020/8/20 15:54
 * @email 78742541@qq.com
 */
@FeignClient("xbnmall-product")
public interface ProductFeignService {
    @GetMapping("/product/spuinfo/skuId/{skuId}")
    public R getSpuInfoBySkuId(@PathVariable("skuId") Long skuId);
}
